/**
 * 
 */
package com.googlecode.bestpaper.syntax.table;

import com.googlecode.bestpaper.syntax.BPFatherMarkup;

/**
 * @author xalinx at gmail dot com
 * @date Dec 2, 2009
 */
public abstract class BPTable<I, O> extends BPFatherMarkup<I, O> {

	private int rowNum;

	private int columnNum;

	public int getRowNum() {
		return rowNum;
	}

	public void setRowNum(int rowNum) {
		this.rowNum = rowNum;
	}

	public int getColumnNum() {
		return columnNum;
	}

	public void setColumnNum(int columnNum) {
		this.columnNum = columnNum;
	}

	/**
	 * @param children
	 * @param title
	 * @param content
	 * @param rowNum
	 * @param columnNum
	 */
	public BPTable(int rowNum, int columnNum) {
		this.rowNum = rowNum;
		this.columnNum = columnNum;
	}
	
	public BPTable(int columnNum) {
		this.setColumnNum(columnNum);
	}
	
	public BPTable() {
	}

}
